home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1833 / 1833.xpi / chrome / yoono.jar / content / yoono / about.js next >
Text File  |  2009-12-16  |  495b  |  15 lines

  1. function init () {
  2.     var extId = '{d9284e50-81fc-11da-a72b-0800200c9a66}';
  3.     var extmgr = Components.classes['@mozilla.org/extensions/manager;1'].getService(Components.interfaces.nsIExtensionManager);
  4.    document.getElementById('yoono-about-version').value = 'ver. ' + extmgr.getItemForID(extId).version;
  5. }
  6.  
  7. function goToHomePage() {
  8.    var url = 'http://www.yoono.com/'
  9.     window.close();
  10.     window.opener.openURL(url);
  11. }
  12.  
  13. window.addEventListener("load", function() { init(); }, false);
  14.  
  15.